package com.ruoyi.wq.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.wq.domain.WqTopicUser;

/**
 * 话题关注Mapper接口
 * 
 * @author ruoyi
 * @date 2022-06-17
 */
public interface WqTopicUserMapper extends BaseMapper<WqTopicUser>
{
    /**
     * 查询话题关注
     * 
     * @param id 话题关注主键
     * @return 话题关注
     */
    public WqTopicUser selectWqTopicUserById(String id);

    /**
     * 查询话题关注列表
     * 
     * @param wqTopicUser 话题关注
     * @return 话题关注集合
     */
    public List<WqTopicUser> selectWqTopicUserList(WqTopicUser wqTopicUser);

    /**
     * 新增话题关注
     * 
     * @param wqTopicUser 话题关注
     * @return 结果
     */
    public int insertWqTopicUser(WqTopicUser wqTopicUser);

    /**
     * 修改话题关注
     * 
     * @param wqTopicUser 话题关注
     * @return 结果
     */
    public int updateWqTopicUser(WqTopicUser wqTopicUser);

    /**
     * 删除话题关注
     * 
     * @param id 话题关注主键
     * @return 结果
     */
    public int deleteWqTopicUserById(String id);

    /**
     * 批量删除话题关注
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWqTopicUserByIds(String[] ids);

	public List<WqTopicUser> getFansTopicList(WqTopicUser topicUser);
}
